package com.jeecg.xiaozhi.takecare.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: 关联的信息数据表
 * @author onlineGenerator
 * @date 2018-09-12 20:35:43
 * @version V1.0
 *
 */
@Entity
@Table(name = "takecare", schema = "")
@SuppressWarnings("serial")
public class TakecareEntity implements java.io.Serializable {
	/** 主键 */
	private java.lang.Integer id;
	/** 创建人名称 */
	private java.lang.String createName;
	/** 创建人登录名称 */
	private java.lang.String createBy;
	/** 创建日期 */
	private java.util.Date createDate;
	/** 看护人id */
	@Excel(name = "看护人id", width = 15)
	private java.lang.String takeUserid;
	/** 被看护人id */
	@Excel(name = "被看护人id", width = 15)
	private java.lang.String careUserid;
	/** 1为启用0为失效 */
	@Excel(name = "1为启用0为失效", width = 15)
	private java.lang.String status;

	private String websocketid;

	private String isqueren;// 1为已确认

	private Date querendate;

	private String username;

	private String head;

	private String relation;// 看护关系

	/**
	 * 方法: 取得java.lang.Integer
	 * 
	 * @return: java.lang.Integer 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)

	@Column(name = "ID", nullable = false, length = 20)
	public java.lang.Integer getId() {
		return this.id;
	}

	/**
	 * 方法: 设置java.lang.Integer
	 * 
	 * @param: java.lang.Integer
	 *             主键
	 */
	public void setId(java.lang.Integer id) {
		this.id = id;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 创建人名称
	 */

	@Column(name = "CREATE_NAME", nullable = true, length = 50)
	public java.lang.String getCreateName() {
		return this.createName;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             创建人名称
	 */
	public void setCreateName(java.lang.String createName) {
		this.createName = createName;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 创建人登录名称
	 */

	@Column(name = "CREATE_BY", nullable = true, length = 50)
	public java.lang.String getCreateBy() {
		return this.createBy;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             创建人登录名称
	 */
	public void setCreateBy(java.lang.String createBy) {
		this.createBy = createBy;
	}

	/**
	 * 方法: 取得java.util.Date
	 * 
	 * @return: java.util.Date 创建日期
	 */

	@Column(name = "CREATE_DATE", nullable = true, length = 20)
	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * 方法: 设置java.util.Date
	 * 
	 * @param: java.util.Date
	 *             创建日期
	 */
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 看护人id
	 */

	@Column(name = "TAKE_USERID", nullable = true, length = 32)
	public java.lang.String getTakeUserid() {
		return this.takeUserid;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             看护人id
	 */
	public void setTakeUserid(java.lang.String takeUserid) {
		this.takeUserid = takeUserid;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 被看护人id
	 */

	@Column(name = "CARE_USERID", nullable = true, length = 32)
	public java.lang.String getCareUserid() {
		return this.careUserid;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             被看护人id
	 */
	public void setCareUserid(java.lang.String careUserid) {
		this.careUserid = careUserid;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 1为启用0为失效
	 */

	@Column(name = "STATUS", nullable = true, length = 2)
	public java.lang.String getStatus() {
		return this.status;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             1为启用0为失效
	 */
	public void setStatus(java.lang.String status) {
		this.status = status;
	}

	@Column(name = "WEBSOCKETID", nullable = true, length = 32)
	public String getWebsocketid() {
		return websocketid;
	}

	public void setWebsocketid(String websocketid) {
		this.websocketid = websocketid;
	}

	@Column(name = "ISQUEREN", nullable = true, length = 2)
	public String getIsqueren() {
		return isqueren;
	}

	public void setIsqueren(String isqueren) {
		this.isqueren = isqueren;
	}

	@Column(name = "QUERENDATE", nullable = true, length = 20)
	public Date getQuerendate() {
		return querendate;
	}

	public void setQuerendate(Date querendate) {
		this.querendate = querendate;
	}

	@Transient
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Transient
	public String getHead() {
		return head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	@Transient
	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

}
